class CreateTaggings < ActiveRecord::Migration
  def self.up
    create_table :taggings, :id => false do |t|
      t.references :tag;
      t.references :taggable, :polymorphic => true;
    end
  end

  def self.down
    drop_table :taggings;
  end
end
